/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="RECIBOS")
public class RecibosProteu implements Serializable{

    @Id
    @Column(name="REC_ST_CODIGO")
    private String recStCodigo;
    @Column(name="PAC_ST_RG")
    private String pacStRG;
    @Column(name="PAC_ST_NOME")
    private String pacStNome;
    @Column(name="REC_ST_PACIENTE")
    private String recStPaciente;
    @Column(name="REC_ST_CPF")
    private String recStCPF;
    @Column(name="REC_FL_VALOR")
    private Float recFlValor;
    @Column(name="REC_ST_REFERENTE")
    private String recStReferente;
    @Column(name="MED_ST_CODIGO")
    private String medStCodigo;
    @Column(name="PROC_ST_CODIGO_AMB")
    private String procStCodigoAmb;
    @Column(name="REC_DT_RECIBO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date recDtRecibo;
    @Column(name="REC_ST_CNPJ")
    private String recStCNPJ;
    @Column(name="REC_ST_TIPO_PESSOA")
    private String recStTipoPessoa;
    @Column(name="REC_ST_TIPO_RECIBO")
    private String recStTipoRecibo;


    public String getMedStCodigo() {
        return medStCodigo;
    }

    public void setMedStCodigo(String medStCodigo) {
        this.medStCodigo = medStCodigo;
    }

    public String getPacStNome() {
        return pacStNome;
    }

    public void setPacStNome(String pacStNome) {
        this.pacStNome = pacStNome;
    }

    public String getPacStRG() {
        return pacStRG;
    }

    public void setPacStRG(String pacStRG) {
        this.pacStRG = pacStRG;
    }

    public String getProcStCodigoAmb() {
        return procStCodigoAmb;
    }

    public void setProcStCodigoAmb(String procStCodigoAmb) {
        this.procStCodigoAmb = procStCodigoAmb;
    }

    public Date getRecDtRecibo() {
        return recDtRecibo;
    }

    public void setRecDtRecibo(Date recDtRecibo) {
        this.recDtRecibo = recDtRecibo;
    }

    public Float getRecFlValor() {
        return recFlValor;
    }

    public void setRecFlValor(Float recFlValor) {
        this.recFlValor = recFlValor;
    }

    public String getRecStCNPJ() {
        return recStCNPJ;
    }

    public void setRecStCNPJ(String recStCNPJ) {
        this.recStCNPJ = recStCNPJ;
    }

    public String getRecStCPF() {
        return recStCPF;
    }

    public void setRecStCPF(String recStCPF) {
        this.recStCPF = recStCPF;
    }

    public String getRecStCodigo() {
        return recStCodigo;
    }

    public void setRecStCodigo(String recStCodigo) {
        this.recStCodigo = recStCodigo;
    }

    public String getRecStPaciente() {
        return recStPaciente;
    }

    public void setRecStPaciente(String recStPaciente) {
        this.recStPaciente = recStPaciente;
    }

    public String getRecStReferente() {
        return recStReferente;
    }

    public void setRecStReferente(String recStReferente) {
        this.recStReferente = recStReferente;
    }

    public String getRecStTipoPessoa() {
        return recStTipoPessoa;
    }

    public void setRecStTipoPessoa(String recStTipoPessoa) {
        this.recStTipoPessoa = recStTipoPessoa;
    }

    public String getRecStTipoRecibo() {
        return recStTipoRecibo;
    }

    public void setRecStTipoRecibo(String recStTipoRecibo) {
        this.recStTipoRecibo = recStTipoRecibo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final RecibosProteu other = (RecibosProteu) obj;
        if ((this.recStCodigo == null) ? (other.recStCodigo != null) : !this.recStCodigo.equals(other.recStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 37 * hash + (this.recStCodigo != null ? this.recStCodigo.hashCode() : 0);
        return hash;
    }

    
}
